import React from 'react';

const MyButton = ({ onClick, text }) => (
    <button onClick={onClick}>{text}</button>
);
export default MyButton;